package com.mzy.basics.test.cloneTwo;

import lombok.Getter;
import lombok.Setter;

/**
 * @author Ives
 * * @date 2022/1/26
 */
@Getter
@Setter
public class Person {
  // 姓名
  private String name;
  // 年龄
  private int age;
  // 邮件
  private String email;
  // 描述
  private String desc;

  public Person(String name, int age, String email, String desc) {
    this.name = name;
    this.age = age;
    this.email = email;
    this.desc = desc;
  }

  @Override
  public String toString() {
    return "Person{" +
            "name='" + name + '\'' +
            ", age=" + age +
            ", email='" + email + '\'' +
            ", desc='" + desc + '\'' +
            '}';
  }
}
